<template>
    <div class="index">
     
      <!-- 二级路由的占位组件 -->
      <router-view></router-view>
  
      <div class="tabbar">
        <router-link to="/index/home">首页</router-link>
        <router-link to="/index/tuan">爆爆团</router-link>
        <router-link to="/index/order">订单</router-link>
        <router-link to="/index/mine">我的</router-link>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    
  }
  </script>
  
  <style lang='scss' scoped>
  .tabbar{
    font-size: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    background: #f5f5f5;
    border-top: 1px solid #888;
  }
  </style>